home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / programming / oracle7 7.2 / NET / NETC22 / NETC22.INS < prev    next >
Encoding:
Text File  |  1995-10-11  |  2.4 KB  |  92 lines

  1. /* Copyright (c) Oracle Corporation 1992.  All Rights Reserved */
  2. /*****************************************************************************
  3.   NAME
  4.     netc22.ins - Windows 95 V3 installation script for SQL*Net.
  5.  
  6.   DESCRIPTION
  7.     This script performs the installation tasks for the OS/2 SQL*Net
  8.     product.
  9.  
  10.   VERSION
  11.     2.2.0.0.0
  12.  
  13.   OWNER
  14.     Lav Jain
  15.  
  16.   MODIFIED    DD-MMM-YY Reason
  17.  **************************************************************************/
  18. {
  19.  
  20.   if (doit)
  21.   {
  22.   
  23.     bmp_home = directory_name(current_script);
  24.     { ui_graphics("%bmp_home%\network.bmp"); }
  25.     [ 'DEFAULT: continue(); ]
  26.  
  27.     ins_ratchet = "2.2.2.0.0";
  28.  
  29.     execute("%installer_home%\win95.ins");
  30.  
  31.         install(w95rsf72);
  32.  
  33.         if (not(registered("w95install")))
  34.           install(w95install);
  35.         else if (earlier_version(registration("w95install"),product_version(w95instver)))
  36.           install(w95install);
  37.  
  38.  
  39.         if (member(chosen_stack_list, tcp_stack))
  40.         install(w95tcp22);
  41.     if (member(chosen_stack_list, spx_stack))
  42.         install(w95spx22);
  43.     if (member(chosen_stack_list, nmp_stack))
  44.         install(w95nmp22);
  45.  
  46.  
  47.     permit_retry_operations = TRUE;
  48.  
  49.         /* Copy Files */
  50.         ui_product(product_label);
  51.  
  52.         ui_action(instantiate(net2_install_script));
  53.         copy(deinstl);
  54.  
  55.         ui_action(instantiate(net2_install_message));
  56.         copy(msb, nls_abbreviation);
  57.  
  58.         ui_action(instantiate(net2_install_sample));
  59.         copy(sample);
  60.  
  61.         ui_action(instantiate(net2_install_easycfg));
  62.         copy(cfg22);
  63.  
  64.         ui_action(instantiate(net2_install_dll));
  65.         {
  66.             copy(dll);
  67.         }
  68.         ['WRITE_ERROR:{ 
  69.         information_dialog(instantiate(app_prompt), 
  70.                                instantiate(app_content),
  71.                            instantiate(app_help) );
  72.             signal('FAILURE, instantiate(installation_terminated);
  73.         }
  74.         ]
  75.     copy(exec);
  76.  
  77.     permit_retry_operations = FALSE;
  78.  
  79.         /* set NET20 here in the registry */
  80.  
  81.         modify("NET20","%oracle_home%\NETWORK", ora_config, (product_filename(current_product)));
  82.  
  83.         /* Register Product and Dependencies */
  84.  
  85.         ui_action(instantiate(net2_register));
  86.         register(current_product);
  87.         if (member(selected_products,current_product))
  88.           reference(current_product);
  89.         reference(w95rsf72, current_product);
  90.   } 
  91. }
  92.